module.exports = (generator, { features, selectStore }) => {
  generator.extendPackage({
    dependencies: {
      vue: "^3.2.45",
    },
    devDependencies: {
      "vue-loader": "^17.0.1",
    },
  });
  generator.render("./template", {
    useRouter: features.includes("router"),
    useTypescript: features.includes("typescript"),
    needJudgeTsOrJs: true,
    selectStore,
  });
};
